arun.sharma@intel.com[kaf24] [Tue, 3 May 2005 07:46:23 +0000 (07:46 +0000)]
bitkeeper revision 1.1389.1.30 (42772c4ftqTKMw2_A0pJAa1-LYe2xw)
[PATCH] config_xen0_tun.patch
QEMU needs CONFIG_TUN to enable networking.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
djm@sportsman.spdomain [Tue, 3 May 2005 00:07:25 +0000 (00:07 +0000)]
bitkeeper revision 1.1389.1.29 (4276c0bdcHMh8JYpMOuOkZTWJxnCHQ)
arch-ia64.h:
fix typo from common name change
xen-ia64.adm@bkbits.net [Mon, 2 May 2005 23:55:17 +0000 (23:55 +0000)]
bitkeeper revision 1.1389.1.28 (4276bde5IlPGAgyQBeTjHtxqjQjs2g)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
djm@kirby.fc.hp.com [Mon, 2 May 2005 19:35:43 +0000 (19:35 +0000)]
bitkeeper revision 1.1327.1.23 (4276810fCGJukAImkhaVlxkOSDW-Dg)
Sorry... still one more (Last round of cleanup)
djm@kirby.fc.hp.com [Mon, 2 May 2005 19:09:26 +0000 (19:09 +0000)]
bitkeeper revision 1.1327.1.22 (42767ae6pMJH90d_vWODEW1wraCMTg)
Oops, reenable swiotlb (more last round :-)
djm@kirby.fc.hp.com [Mon, 2 May 2005 17:39:04 +0000 (17:39 +0000)]
bitkeeper revision 1.1327.1.21 (427665b8B4k_2-bwpMByBLCK9j9snA)
Last round of cleanup: Forgot to remove a file too!
djm@kirby.fc.hp.com [Mon, 2 May 2005 17:36:28 +0000 (17:36 +0000)]
bitkeeper revision 1.1327.1.20 (4276651cSwFEIaVv-X0LcrzNw_Dxfw)
Last round of cleanup: Forgot a new file
djm@kirby.fc.hp.com [Mon, 2 May 2005 17:34:28 +0000 (17:34 +0000)]
bitkeeper revision 1.1327.1.19 (427664a4ddicjiXeRHKCKKrSnBvjug)
Last round of cleanup (for now)
kaf24@firebug.cl.cam.ac.uk [Mon, 2 May 2005 16:07:35 +0000 (16:07 +0000)]
bitkeeper revision 1.1389.1.27 (42765047QI9d01CBiVyH-bBFAhM6lQ)
Add '-g' compile option on debug builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 2 May 2005 16:01:00 +0000 (16:01 +0000)]
bitkeeper revision 1.1389.1.26 (42764ebcQUGB5SU0NuOL0gHMTOa--A)
Fix int3 handling in cdb. They're harmless.
Signed-off-by: Keir Fraser <keir@xensource.com>
kmacy@netapp.com[kaf24] [Mon, 2 May 2005 13:50:40 +0000 (13:50 +0000)]
bitkeeper revision 1.1389.1.25 (42763030SYN-c5A47iaiRMSIUFsKbA)
[PATCH] [PATCH] fix booting with SMP enabled
Let me know if pine has messed up the patch the way gmail does.
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/04/30 16:07:55-07:00 kmacy@curly.lab.netapp.com
# Make FreeBSD work with SMP enabled again
# Kip Macy <kmacy@fsmware.com>
#
# BitKeeper/etc/logging_ok
# 2005/04/30 16:07:54-07:00 kmacy@curly.lab.netapp.com +1 -0
# Logging to logging@openlogging.org accepted
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/machdep.c
# 2005/04/30 16:07:39-07:00 kmacy@curly.lab.netapp.com +22 -12
# Do shadow directory initialization before SMP page table setup
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/local_apic.c
# 2005/04/30 16:07:39-07:00 kmacy@curly.lab.netapp.com +2 -1
# Don't try to probe apics
#
kaf24@firebug.cl.cam.ac.uk [Mon, 2 May 2005 10:17:29 +0000 (10:17 +0000)]
bitkeeper revision 1.1389.1.24 (4275fe39zl4LNqHkDr0esLqsvTaLoA)
Fix ioemu makefile to not use 'uname -i'.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 2 May 2005 08:38:46 +0000 (08:38 +0000)]
bitkeeper revision 1.1389.1.23 (4275e716ZM2AFvimq_UhqQK8jiiq5g)
Fix xc_ptrace interface to get rid of pid_t.
Signed-off-by: Keir Fraser <keir@xensource.com>
kmacy@netapp.com[kaf24] [Mon, 2 May 2005 08:33:37 +0000 (08:33 +0000)]
bitkeeper revision 1.1389.1.22 (4275e5e1eelF9eh7n92D3W-1Ju8Fzg)
[PATCH] [PATCH] make XenFreeBSD VBD ring full handling sensible
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/05/01 23:48:15-07:00 kmacy@curly.lab.netapp.com
# make ring full handling sensible
# Signed-off-by: Kip Macy <kmacy@netapp.com>
#
# freebsd-5.3-xen-sparse/i386-xen/xen/blkfront/xb_blkfront.c
# 2005/05/01 23:48:12-07:00 kmacy@curly.lab.netapp.com +48 -5
# make ring full handling sensible
#
kmacy@netapp.com[kaf24] [Mon, 2 May 2005 08:33:31 +0000 (08:33 +0000)]
bitkeeper revision 1.1389.1.21 (4275e5dbz3R_E1mjaxcOhfE7cYQy0w)
[PATCH] [PATCH] update evtchn for SMP
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/05/01 17:01:17-07:00 kmacy@curly.lab.netapp.com
# add SMP support to evtchn
# Signed-off-by: Kip Macy <kmacy@netapp.com>
#
# freebsd-5.3-xen-sparse/i386-xen/include/xen_intr.h
# 2005/05/01 17:01:15-07:00 kmacy@curly.lab.netapp.com +3 -0
# add SMP interfaces
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/evtchn.c
# 2005/05/01 17:01:15-07:00 kmacy@curly.lab.netapp.com +85 -9
# add SMP support
#
kmacy@netapp.com[kaf24] [Mon, 2 May 2005 08:33:19 +0000 (08:33 +0000)]
bitkeeper revision 1.1389.1.20 (4275e5cf8rSBidyFfn32zpPSsOA_xw)
[PATCH] [PATCH] make XenFreeBSD trapframe the same as native
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/05/01 16:04:24-07:00 kmacy@curly.lab.netapp.com
# Make trapframe the same size as on native i386
# Signed-off-by: Kip Macy <kmacy@fsmware.com>
#
# freebsd-5.3-xen-sparse/i386-xen/include/pcpu.h
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +3 -2
# add per-cpu fields for evtchn and page faults
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/trap.c
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +1 -9
# remove STACK_DEBUGGING cruft
# fetch cr2 from pcpu area
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/genassym.c
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +1 -2
# remove unused trap_nesting
# add cr2 field
#
# freebsd-5.3-xen-sparse/i386-xen/i386-xen/exception.s
# 2005/05/01 16:04:20-07:00 kmacy@curly.lab.netapp.com +41 -31
# Save CR2 after trap frame then move to pcpu area
#
# BitKeeper/deleted/.del-ucontext.h~
6f534fc91cb2d96b
# 2005/05/01 15:56:03-07:00 kmacy@curly.lab.netapp.com +0 -1
# Delete: freebsd-5.3-xen-sparse/i386-xen/include/ucontext.h
#
# BitKeeper/deleted/.del-frame.h~
fbfe41b49597c684
# 2005/05/01 15:55:59-07:00 kmacy@curly.lab.netapp.com +3 -3
# Delete: freebsd-5.3-xen-sparse/i386-xen/include/frame.h
#
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 15:20:55 +0000 (15:20 +0000)]
bitkeeper revision 1.1389.1.19 (4273a257_YthmItOayXCOoUAFw7rYA)
wrpt-disable.patch
Disable writable pagetables in FreeBSD for the time being.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 15:19:31 +0000 (15:19 +0000)]
bitkeeper revision 1.1389.1.18 (4273a203Crs6SOBhDcJcXdza1-0gNw)
dump-enable.patch
Dump guest core if enable-dump is set.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 08:50:08 +0000 (08:50 +0000)]
bitkeeper revision 1.1389.1.17 (427346c0aRp-AQNVyrLuVwZpeN01Sg)
crash.patch
FreeBSD calls domain_crash() on error so that its core is dumped.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
kaf24@firebug.cl.cam.ac.uk[kaf24] [Sat, 30 Apr 2005 08:45:02 +0000 (08:45 +0000)]
bitkeeper revision 1.1389.1.16 (4273458eyxEjHSppjkQyDsXHHxOY9Q)
coredump.patch
Extend libxc and gdb server to coredump a domain.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
arun.sharma@intel.com[kaf24] [Sat, 30 Apr 2005 08:35:58 +0000 (08:35 +0000)]
bitkeeper revision 1.1389.1.15 (4273436eypuqO7C1_MKQjhBV2kylZw)
[PATCH] vmx-mach-to-phys.patch
VMX domains need to setup their machine to physical maps.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 30 Apr 2005 08:35:33 +0000 (08:35 +0000)]
bitkeeper revision 1.1389.1.14 (427343557mBKHXIKNWB3vC3vSFMQ7g)
Fix xc_ptrace for paravirtualized guests.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
djm@kirby.fc.hp.com [Fri, 29 Apr 2005 22:31:36 +0000 (22:31 +0000)]
bitkeeper revision 1.1327.1.18 (4272b5c8SnvwX0tHThgOSkWlbYUjvQ)
Oops4 for more code cleanup
djm@kirby.fc.hp.com [Fri, 29 Apr 2005 22:30:23 +0000 (22:30 +0000)]
bitkeeper revision 1.1327.1.17 (4272b57fwJKUhFtJ5BrqVZ7CEFKwrA)
Oops3 for more code cleanup
djm@kirby.fc.hp.com [Fri, 29 Apr 2005 22:25:31 +0000 (22:25 +0000)]
bitkeeper revision 1.1327.1.16 (4272b45boHfzFkRg8miCOTENDrStwg)
Oops2 for more code cleanup
djm@kirby.fc.hp.com [Fri, 29 Apr 2005 22:14:00 +0000 (22:14 +0000)]
bitkeeper revision 1.1327.1.15 (4272b1a8fCzXHatP1Qs_LnEeeJWW8A)
Oops on more code cleanup
djm@kirby.fc.hp.com [Fri, 29 Apr 2005 22:09:13 +0000 (22:09 +0000)]
bitkeeper revision 1.1327.1.14 (4272b089iYvr5Anp8Hwey0z6acqlvg)
More code cleanup
kraxel@bytesex.org[kaf24] [Fri, 29 Apr 2005 12:54:16 +0000 (12:54 +0000)]
bitkeeper revision 1.1389.1.13 (42722e78tJ9dMvMOlJBiS68RNPTvfw)
[PATCH] [patch] pgtable.c cleanups
Hi guys,
The new mm_(un)pin stuff is certainly a nice optimization.
But can we take care a bit more about coding style issues
and write code not *that* hackish please? Casts, code
duplication, "unsigned long" for page table entries *again*.
And a few more variables also make the code more readable
(and gcc should be clever enougth that this isn't a
performance hit). We want to have that merged some day in
mainline, don't we?
The patch below cleans up the pin/unpin code in pgtable.c
I've created two helper functions to factor out common code,
the page table walk is basically the same for both pin and
unpin, it's just different page flags. Also fixed up the
walk code to correcly walk through all 4 levels linux has,
so it works correctly for the PAE case. For x86_64 it
should work fine as well (untested though).
please apply,
Gerd
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Apr 2005 08:36:31 +0000 (08:36 +0000)]
bitkeeper revision 1.1389.1.12 (4271f20fuu_UWEqTVagTm3zNUhVqJA)
Simplify cdb.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@scramble.cl.cam.ac.uk [Fri, 29 Apr 2005 08:17:13 +0000 (08:17 +0000)]
bitkeeper revision 1.1389.1.11 (4271ed89U5mhUAOu2YJ7RzMMN68r6Q)
Fix build for older gcc versions.
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@kirby.fc.hp.com [Thu, 28 Apr 2005 22:40:58 +0000 (22:40 +0000)]
bitkeeper revision 1.1327.1.13 (4271667aYkuvJ7WO8DXbP7e0Bldz8g)
Another more code cleanup oops
djm@kirby.fc.hp.com [Thu, 28 Apr 2005 22:36:45 +0000 (22:36 +0000)]
bitkeeper revision 1.1327.1.12 (4271657dvd6v7i5Y8X39HQ9Fu_LjoQ)
Fix more cleanup oops
djm@kirby.fc.hp.com [Thu, 28 Apr 2005 22:24:03 +0000 (22:24 +0000)]
bitkeeper revision 1.1327.1.11 (42716283nLvDhTYM3QOqDMa-wZuJHQ)
More code cleanup
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:45:54 +0000 (21:45 +0000)]
bitkeeper revision 1.1389.1.10 (42715992Ch3pU44CxrgkzMqOnsRiOA)
merge
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:43:58 +0000 (21:43 +0000)]
bitkeeper revision 1.1159.258.109 (4271591efy8CDaEUexiC4RrOlWxDNg)
Backport of bugfix to ensure that p2m entries are invalidated
before returning memory back to Xen allocation pool.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:35:49 +0000 (21:35 +0000)]
bitkeeper revision 1.1389.1.9 (42715735MS5tAFkKmbN0nXUetfgXZQ)
Remove unnecessary SYMBOL_NAME* macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:32:24 +0000 (21:32 +0000)]
bitkeeper revision 1.1389.1.8 (42715668DjHMmednZbpL0cOFNSNyoA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:32:15 +0000 (21:32 +0000)]
bitkeeper revision 1.1389.3.2 (4271565ftYSScxkytTffbiBskngf9Q)
Fix previous changeset: idle domains were not initialising correctly.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 21:04:10 +0000 (21:04 +0000)]
bitkeeper revision 1.1389.1.7 (42714fcaJfH4LWe4KjV59B7zj8NX0g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:55:07 +0000 (20:55 +0000)]
bitkeeper revision 1.1389.3.1 (42714dabVSywx2XWGjgw2J54ZylwYg)
Ensure block/yield hypercalls always return a sane return code.
Ensure callers of __enter_scheduler take appropriate arch-specific
action if no context switch occurs (callers from arch/x86 do not
expect to return from a call into the scheduler).
This fixes wildly unintuitive behaviour of do_block() for the
VMX team.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:54:17 +0000 (20:54 +0000)]
bitkeeper revision 1.1389.1.6 (42714d79tPZMQxulWS1AIvjumdITww)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
djm@kirby.fc.hp.com [Thu, 28 Apr 2005 20:54:13 +0000 (20:54 +0000)]
bitkeeper revision 1.1327.1.10 (42714d75SI_oJV84oFz8Mm3tGBld4w)
Fix code cleanup oops
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:50:48 +0000 (20:50 +0000)]
bitkeeper revision 1.1389.2.2 (42714ca83Gv7CX98R4gC0TU3w-pX1Q)
Merge xen-2.0-testing "sync w/ unstable" changes.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 20:47:24 +0000 (20:47 +0000)]
bitkeeper revision 1.1389.2.1 (42714bdc95kBU21y23J3Wciri--8Yw)
Merge xen-2.0-testing "sync w/ unstable" changes.
djm@kirby.fc.hp.com [Thu, 28 Apr 2005 20:40:15 +0000 (20:40 +0000)]
bitkeeper revision 1.1327.1.9 (42714a2f9RKgJOZHHOz9jvIICLyXxQ)
More code cleanup
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 18:26:25 +0000 (18:26 +0000)]
bitkeeper revision 1.1389.1.5 (42712ad1Qoo2MSKU_8_-kkJWHY9E9g)
Handle the possibility that FXRSTOR may fault by silently clearing
the data area that it is restoring from. This may occur if control
tools reload a saved VM image without adequate checking, for example.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 18:04:45 +0000 (18:04 +0000)]
bitkeeper revision 1.1389.1.4 (427125bdwah0mehgnafVLP-gRLDM_w)
Avoid field duplication between vcpu_guest_context and arch_exec_domain
structures. The latter now includes the former as a sub-field.
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@kirby.fc.hp.com [Thu, 28 Apr 2005 17:02:19 +0000 (17:02 +0000)]
bitkeeper revision 1.1327.1.8 (4271171bkgG2OW7a1JXLin4JRIi6_Q)
Code cleanup
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:23:35 +0000 (15:23 +0000)]
bitkeeper revision 1.1159.258.108 (4270fff77uXrP6ebmHEte60f5WLI-w)
pgtable.c:
Use virt_to_ptep.
pgtable.h:
add virt_to_ptep.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:12:37 +0000 (15:12 +0000)]
bitkeeper revision 1.1389.1.3 (4270fd65aVhWKwId5_N9ojnjER84Dw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:11:15 +0000 (15:11 +0000)]
bitkeeper revision 1.1385.2.1 (4270fd13Fv84etl6vfPTPXdxld-15A)
page.h:
Revert change to pgd_val to always set the PAGE_PRESENT bit.
fixup.c:
Cleanup whitespace.
setup.c:
Whitespace cleanup.
Whitespace cleanups.
process.c:
Whitespace.
pci-dma.c:
revert part of previous for sync w/ 2.0.
g/c unused code and cleanup whitespace.
head.S:
Break __xen_guest definition up in several lines.
common.c:
whitespace cleanup.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 15:08:57 +0000 (15:08 +0000)]
bitkeeper revision 1.1159.258.107 (4270fc89Gyl1f0UFludQff4kq09XvQ)
reboot.c, init.c, hypervisor.h, evtchn.h, tlbflush.h, pgtable-2level.h:
sync w/ unstable.
system.h:
Fix typo.
pgtable.h, fixup.c, irq.c, direct.c, timer_tsc.c, pci-dma.c, init.c, fault.c:
Cleanup whitespace.
page.h:
Turn __pte and __pgd into #define's like the original definitions.
Add casts to unsigned long for phys_to_machine_mapping and
machine_to_phys_mapping.
fixmap.h, Makefile:
gnttab is not used in 2.0.
.del-gnttab.c~
4461d10e936c37ab:
Delete: linux-2.6.11-xen-sparse/arch/xen/kernel/gnttab.c
.del-gnttab.h~
974eaf5d22418ecd:
Delete: linux-2.6.11-xen-sparse/include/asm-xen/gnttab.h
setup.c:
Add panic notification handler.
Change phys_to_machine_mapping from unsigned long * to unsigned int *.
Whitespace cleanups.
page.h:
Change phys_to_machine_mapping from unsigned long * to unsigned int *.
process.c:
UTSNAME -> system_utsname.release as in plain Linux.
Disable preemption before reading smp_processor_id.
head.S:
sync w/ unstable for maintenance -- backport SMP-guest support bits.
Break __xen_guest definition up in several lines.
ldt.c, desc.h, common.c:
Move queue flush into load_LDT().
common.c:
g/c unused code.
Kconfig:
Fix whitespace for microcode option.
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 14:04:13 +0000 (14:04 +0000)]
bitkeeper revision 1.1389.1.2 (4270ed5dZvr_HdIQR0eBM2m4Kj81_A)
Renames:
execution_context/xen_regs -> cpu_user_regs
full_execution_context -> vcpu_guest_context
[defined both 'struct xxx' and 'xxx_t' forms]
Signed-off-by: Keir Fraser <keir@xensource.com>
smh22@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 13:52:41 +0000 (13:52 +0000)]
bitkeeper revision 1.1389.1.1 (4270eaa9i26XkdEPCi0_DHgtMgxvAw)
fix 2.4 build
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Apr 2005 08:56:40 +0000 (08:56 +0000)]
bitkeeper revision 1.1389 (4270a548HjJvvxATKrCShKKiLW-siw)
Cset exclude: vh249@arcadians.cl.cam.ac.uk|ChangeSet|
20050427165530|30167
vh249@arcadians.cl.cam.ac.uk [Wed, 27 Apr 2005 16:55:50 +0000 (16:55 +0000)]
bitkeeper revision 1.1388 (426fc416kd_SxU1l3YCeVWTczbT41A)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
vh249@arcadians.cl.cam.ac.uk [Wed, 27 Apr 2005 16:55:30 +0000 (16:55 +0000)]
bitkeeper revision 1.1387 (426fc402cahZ53Mlz7Pca5KY50Y6tA)
include/xen/banner.h will be only change if there's differences with the new one.
add correct dependencies, so that console.c is now rebuild when necessary now.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 14:42:32 +0000 (14:42 +0000)]
bitkeeper revision 1.1385.1.6 (426fa4d8AQ8dQHrihxXpPojuqYnL0g)
Improve multi-processor XenLinux fork/exec/destroy times. We do this
by lazily pinning page-tables for p.t. use, and aggressively unpinning
them on last use, to put as little pressure on the batched wrpt
interface as possible. Basically this means that the copy loop and
destroy loop will usually be able to directly write pagetables with no
Xen intervention at all (implicit or explicit).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 10:39:11 +0000 (10:39 +0000)]
bitkeeper revision 1.1385.1.5 (426f6bcf8GMOwEKfaglrPUwWZTaHAg)
clean the ignores list.
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 10:37:26 +0000 (10:37 +0000)]
bitkeeper revision 1.1385.1.4 (426f6b66K5Xrx0v2--zUfkahi8mIUw)
Invalidate p2m entries when blocks of phys memory are handed back to
Xen allocation pool. This is the correct fix for the "dom0 kernel
crashes when I create a domU" bug.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Apr 2005 10:35:49 +0000 (10:35 +0000)]
bitkeeper revision 1.1385.1.3 (426f6b05kK8EBkiTLCXBeJZCPG2ZgQ)
Cset exclude: bren@br260.wolfson.cam.ac.uk|ChangeSet|
20050426221254|30123
djm@kirby.fc.hp.com [Tue, 26 Apr 2005 22:24:29 +0000 (22:24 +0000)]
bitkeeper revision 1.1327.1.7 (426ebf9dElmn-4PJcDb_JoGYAMuVlA)
Oops, forgot a patch file
bren@br260.wolfson.cam.ac.uk [Tue, 26 Apr 2005 22:12:54 +0000 (22:12 +0000)]
bitkeeper revision 1.1385.1.2 (426ebce6uikcKvm56neQ1G3uFEGApw)
Properly set memory parameters for newly created domains.
Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
djm@kirby.fc.hp.com [Tue, 26 Apr 2005 21:08:52 +0000 (21:08 +0000)]
bitkeeper revision 1.1327.1.6 (426eade4Z6TUJnbOAc8St0Xt6XDYMw)
Various tweaks for paravirtualization and debugging
smh22@firebug.cl.cam.ac.uk [Tue, 26 Apr 2005 14:30:28 +0000 (14:30 +0000)]
bitkeeper revision 1.1385.1.1 (426e50841dwkW8TPBgE1y4h3O71bsQ)
build when DEBUG=1 + whitespace fixes
vh249@arcadians.cl.cam.ac.uk [Tue, 26 Apr 2005 13:37:38 +0000 (13:37 +0000)]
bitkeeper revision 1.1386 (426e4422Fnf4uJoD_xnCwL17Xg94aA)
remove redundant NULL check before xfree()
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Apr 2005 09:31:16 +0000 (09:31 +0000)]
bitkeeper revision 1.1385 (426e0a64bO3xeXCBe6s8h2DX9QnqbQ)
Simple batched writable p.t. support for multi-processor guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 22:21:26 +0000 (22:21 +0000)]
bitkeeper revision 1.1384 (426d6d66A3AfjqSI_9GpheK5U1rydQ)
Fix xlvbd_device_alloc to memset() allocated memory correctly.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 16:53:12 +0000 (16:53 +0000)]
bitkeeper revision 1.1383 (426d2078vvMiOXQcJ98uhha5uIt0Sw)
Enormously better process destruction performance. By not running on
pagetables when we are destroying them we massively reduce TLB flushes
and increase writable p.t. batches. This patch would probably improve
even native Linux performance, because of the rabid ZAP_BLOCK_SIZE
changes to unmap_vmas() that were introduced to 2.6.11. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 15:10:07 +0000 (15:10 +0000)]
bitkeeper revision 1.1382 (426d084fj_L9HqLwTZs1okz5LbnXcg)
Fix writable pagetables for uniproc domains such that we don't use the
emulation path every time.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 10:58:04 +0000 (10:58 +0000)]
bitkeeper revision 1.1381 (426ccd3chFZ3jThNSK9--Zvf3r2fug)
No longer disable format checking for printf/printk statements. This
required a whole bunch of cleanups to get the build working again.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 09:04:02 +0000 (09:04 +0000)]
bitkeeper revision 1.1380 (426cb282h_zj6PQYX7HuwLMZrI68ig)
More gcc4 signed/unsigned char fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
leendert@watson.ibm.com[kaf24] [Mon, 25 Apr 2005 07:55:36 +0000 (07:55 +0000)]
bitkeeper revision 1.1379 (426ca278F5TOjFztt77FKYt8v457dg)
[PATCH] [PATCH] Assorted VMX patches
This patch contains the following VMX patches:
- ioemu: Update the address when doing a stosb/stosw/stosl. Without this patch
stosb writes req->count times at the same location req->addr. Not exactly
the intended semantics.
- xc_ptrace.c: Use the page_array to refer to partition memory. This allows
you to use gdbserver on a VMX partition (and presumably partitions that use
shadow page tables).
- dom0_ops.c: Preserve ECF_VMX_GUEST flag for gdbserver. Without it you
cannot (re)set the VMX domain state.
- vmx.c: Added support for lmsw. Unmodified FreeBSD uses this when running
inside a VMX partition.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
===== tools/ioemu/iodev/cpu.cc 1.8 vs edited =====
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Apr 2005 07:55:26 +0000 (07:55 +0000)]
bitkeeper revision 1.1378 (426ca26eUpP7OInuOBvTyETb6y9VRQ)
Add /usr/lib64/python to the path for python tools so that they can be
found on 64-bit platforms.
Signed-off-by: Jerone Young <jyoung@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 16:01:19 +0000 (16:01 +0000)]
bitkeeper revision 1.1377 (426a714f6V9I7WsWjOjg5UyMTHIubA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 16:00:42 +0000 (16:00 +0000)]
bitkeeper revision 1.1159.258.106 (426a712aViBd_l7Q-xevKeNJhNJHSw)
Makefile:
Fix mkpatches build target to ignore freebsd error.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 14:53:20 +0000 (14:53 +0000)]
bitkeeper revision 1.1376 (426a6160VtACVFwzChimSdGZNrpWGg)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:18:20 +0000 (11:18 +0000)]
bitkeeper revision 1.1375 (426a2efcnNwCi2J-ptewqWF_62U1-g)
xenpmap.h, hypervisor.h, xen_machdep.c, pmap.c, machdep.c:
Writable pagetables for freebsd.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:10:11 +0000 (11:10 +0000)]
bitkeeper revision 1.1374 (426a2d13oNszAPe4DJtPXXT5G-vZVQ)
evtchn.c:
Fix freebsd lockup.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 11:04:40 +0000 (11:04 +0000)]
bitkeeper revision 1.1373 (426a2bc8m7wX71OOkLtSOgNXcrObMA)
xc_domain.c:
Ensure ctxt is mlocked in xc_domain_getfullinfo.
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Apr 2005 10:53:18 +0000 (10:53 +0000)]
bitkeeper revision 1.1372 (426a291er6fDcjQLyYtGSP3XQORoWQ)
grant_table.c:
gcc4 tweak.
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:57:55 +0000 (16:57 +0000)]
bitkeeper revision 1.1371 (42692d136tRflIX7G4VOXJLCJstFVw)
Hi folks,
arch/xen/x86_64/kernel/entry.S | 131
+++++++++++++++++++--------------
arch/xen/x86_64/kernel/process.c | 5 -
arch/xen/x86_64/kernel/traps.c | 3
arch/xen/x86_64/kernel/vsyscall.c | 2
include/asm-xen/asm-x86_64/hypercall.h | 5 -
include/asm-xen/asm-x86_64/system.h | 6 -
6 files changed, 88 insertions(+), 64 deletions(-)
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Attached contains bug fixes:
1. hang at floppy driver
2. hiccups at boot time
3. FP save/restore
4. cleanups in entry.S (critical section fixup, etc.)
5. time problem (temporarily disables vgettimeofday that uses TSC). I'm
not sure if we can use TSC-based vxtime in Xen. So we need some cleanups
there.
1 & 2 were simply fixed in process.c; xen_idle() is now identical to the
32-bit one.
I'm still working on failsafe_callback (because now I'm getting it), but
the system should be ready for broader ranges of people. Some config
seems to cause a panic in the hypervisor, and I'm also looking at it.
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:42:55 +0000 (16:42 +0000)]
bitkeeper revision 1.1370 (4269298fN8pBqkwEJEdXf9MR8bXVzA)
Add a headroom check to MMUEXT_REASSIGN_PAGE.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:34:45 +0000 (16:34 +0000)]
bitkeeper revision 1.1369 (426927a5No_sHhV62q0TEbxYu-jcHA)
Hypercall preemption check also looks for pending event upcalls to
guest kernel.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:34:08 +0000 (16:34 +0000)]
bitkeeper revision 1.1368 (42692780QS8e5vEYZOY8vFfJQySx9Q)
Force efficient implementation of __put_user().
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 16:10:53 +0000 (16:10 +0000)]
bitkeeper revision 1.1367 (4269220d42QVzUVVn9-Tn1tb9fNSWw)
Remove memory and cpu parameters from DOM0_CREATEDOMAIN, and remove
DOM0_SETINITIALMEM. You can get the same effect via PINCPU,
SETMAXMEM, and do_mem_op(increase_reservation).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Apr 2005 09:17:26 +0000 (09:17 +0000)]
bitkeeper revision 1.1366 (4268c126o36cKcnzrSkVxkbrPsoz1g)
Clean up shadow destruction and fix domain destroy when shadow mode
is disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 22:33:54 +0000 (22:33 +0000)]
bitkeeper revision 1.1365 (42682a52hWoXmZEjWb2-0Ly05egFKg)
Hand merged...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Thu, 21 Apr 2005 21:43:23 +0000 (21:43 +0000)]
bitkeeper revision 1.1357.1.1 (42681e7b7KG-juYnPnNfse4HYMkaMw)
Make find_highest_irq() work for both 32 and 64 bit.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: ian@xensource.com
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:53:42 +0000 (20:53 +0000)]
bitkeeper revision 1.1364 (426812d6FWlbLqlBBPVfuegkt0_fyg)
Now that the shadow code is squashing the global bit in PTEs,
it's OK to re-enable the PGE capability flag for vmx domains.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:29:00 +0000 (20:29 +0000)]
bitkeeper revision 1.1363 (42680d0cgIEixfhEIj_iwmyZ73FnfA)
Fix assertion in delete_shadow_status to allow for removal of PGT_writable_pred's...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:18:32 +0000 (20:18 +0000)]
bitkeeper revision 1.1362 (42680a98yqGgnpTBOHnevLNLv2y9uw)
Minor cleanup of the SH_V*LOG macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 20:17:39 +0000 (20:17 +0000)]
bitkeeper revision 1.1361 (42680a63VNdw2vcBm5FrW2nhMZ_Ovw)
Fix another bug introduced in the shadow code with the new page table entry macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 19:14:36 +0000 (19:14 +0000)]
bitkeeper revision 1.1360 (4267fb9cE5_cr52xAcYJVAIQ7vYIzg)
Added SH_VVVLOG, rather than #if 0, for useful but incredibly verbose shadow mode debugging hook
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 19:13:59 +0000 (19:13 +0000)]
bitkeeper revision 1.1359 (4267fb77Hyv3hRzHLAvCoA2BMyz59A)
Fix bug introduced in the shadow code with the new page table entry macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:39:45 +0000 (17:39 +0000)]
bitkeeper revision 1.1358 (4267e561Ml7gO0DQYGp9EYRUYPBDHA)
Merge burn.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into burn.cl.cam.ac.uk:/local/scratch-1/maf46/xen-unstable.bk
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:34:14 +0000 (17:34 +0000)]
bitkeeper revision 1.1340.1.3 (
4267e4164-4aUgpDERur941-hMFzxg)
fix vmx problems
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:30:34 +0000 (17:30 +0000)]
bitkeeper revision 1.1340.1.2 (4267e33asTxlaqmSE5FbomPUak_0JQ)
Shadow mode should (for now) *not* set the _PAGE_GLOBAL mode in any of the shadow page tables.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
maf46@burn.cl.cam.ac.uk [Thu, 21 Apr 2005 17:29:29 +0000 (17:29 +0000)]
bitkeeper revision 1.1340.1.1 (4267e2f9w3cY4KkexyNS9ToHGVVs9Q)
Patch to enable the destruction of domains which have shadow mode enabled.
Also fixes some shadow mode ref counting bugs, and one bug in check_pte()
recently introduced by the changes in page table accessor types/macros.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Apr 2005 15:39:08 +0000 (15:39 +0000)]
bitkeeper revision 1.1357 (4267c91c8u7H5ttS9RWRyBY5FrTm3g)
Fix APIC setup on legacy systems.
Signed-off-by: Keir Fraser <keir@xensource.com>